/*************************************************************************
 > File Name: monolith/interface/inference/face_rec_model.h
 > Author: dzhang
 > Mail: dong.zhang@ingenic.com
 > Created Time : Sun 24 Jan 2021 09:18:56 PM CST
 > Description:
 ************************************************************************/

#ifndef _MONOLITH_INTERFACE_INFERENCE_FACE_REC_MODEL_H
#define _MONOLITH_INTERFACE_INFERENCE_FACE_REC_MODEL_H
#pragma once
#include "monolith/core/macros.h"
#include "monolith/interface/inference/model.h"
CC_NAME_SPACE_BEGIN
namespace inference {

class FaceRecModel: public Model {
public:
    static FaceRecModel* get_instatnce();

    static int init(ModelParameter model_parameter);

    int run(uint8_t* data, std::vector<float> &face_feature, int input_width,
            int input_height, int input_channel);

private:
    FaceRecModel(ModelParameter model_parameter);

private:
    static FaceRecModel* model_;
};

} // namespace inference

CC_NAME_SPACE_END

#endif //MONOLITH_INTERFACE_INFERENCE_FACE_REC_MODEL_H
